package com.example.test18security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: fxy
 * @Date: 2022/04/13/16:58
 * @Description:
 */
@RestController
public class IndexController {
    @GetMapping("/index")
    public String index(){
        return "success";
    }
    @GetMapping("findAll")
    public String findAll(){
        return "findAll";
    }
}
